/* 整体容器样式 */
.container {
    background-color: #001529;
    color: white;
}

/* 顶部导航样式 */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: transparent;
    border-bottom: none;
}

.back-btn {
    color: white;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.top-nav h1 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.report-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
}

/* AI助手头部样式 */
.ai-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.platform-logo,
.ai-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.platform-info span {
    color: #ccc;
    font-size: 14px;
}

.platform-info i {
    color: #666;
    font-size: 12px;
}

.controls {
    display: flex;
    gap: 15px;
}

.control-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 聊天区域样式 */
.chat-container {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    height: calc(100vh - 180px);
}

.ai-message, .user-message {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* AI思考中的动画样式 */
.ai-message.thinking .message-content {
    background: rgba(255, 255, 255, 0.05);
}

.ai-message.thinking .fa-spinner {
    color: #00BFA5;
    margin-right: 8px;
}

.user-message {
    flex-direction: row-reverse;
}

.ai-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 25px;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    max-width: 80%;
}

.user-message .message-content {
    background: rgba(0, 191, 165, 0.2);
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: white;
    white-space: pre-line;
}

/* 快捷问题区域样式 */
.quick-questions {
    margin-top: 20px;
}

.quick-questions h3 {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
}

.question-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.question-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 12px 15px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: left;
}

.question-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.question-btn i {
    color: #4CAF50;
    font-size: 16px;
}

/* 底部输入区域样式 */
.input-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: #001529;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 414px;
    margin: 0 auto;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #00BFA5, #00897B);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 12px 15px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
}

.input-group input::placeholder {
    color: #999;
}

.input-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-btn {
    background: #00BFA5;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.send-btn:disabled {
    background: #666;
    cursor: not-allowed;
} 